package com.atkusen.mini.mb.service.impl;

import com.atkusen.mini.common.entity.MiniEmployeeEntity;
import com.atkusen.mini.mb.dao.MiniEmployeeDao;
import com.atkusen.mini.mb.service.MiniEmployeeService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atkusen.mini.common.utils.PageUtils;
import com.atkusen.mini.common.utils.Query;





@Service("miniEmployeeService")
public class MiniEmployeeServiceImpl extends ServiceImpl<MiniEmployeeDao, MiniEmployeeEntity> implements MiniEmployeeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MiniEmployeeEntity> page = this.page(
                new Query<MiniEmployeeEntity>().getPage(params),
                new QueryWrapper<MiniEmployeeEntity>()
        );
        return new PageUtils(page);
    }

}